/**
 * Copyright &copy; 2015-2020 <a href="http://www.easyhis.com/">easyhis</a> All rights reserved.
 */
package com.easy.dfcapi.entity;

import com.easy.common.utils.excel.annotation.ExcelField;
import com.easy.core.persistence.BaseEntity;

import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

/**
 * 商城活动对店铺的限制Entity
 * @author waylen chi
 * @version 2018-01-11
 */
public class ApiActivitySlimit extends BaseEntity<ApiActivitySlimit> {
	
	private static final long serialVersionUID = 1L;
	private String id;
	private Integer limitId;		// ID,自增
	private Integer activityId;		// 活动ID，外键dfc_activity的activity_id
	private String descLogic;		// 买家对店铺商品描述评价的逻辑
	private BigDecimal descValue;		// 买家对店铺商品描述评价统计值
	private String servLogic;		// 买家对店铺服务评价的逻辑
	private BigDecimal servValue;		// 买家对店铺服务评价统计值
	private String createDayLogic1;		// 对店铺开张天数的逻辑1，比如 
	private Integer createDayValue1;		// 店铺开张天数
	private String createDayLogic2;		// 对店铺开张天数的逻辑2，比如 											</td>											<td>												<span  name=
	private Integer createDayValue2;		// 店铺开张天数2
	private String salesNumLogic1;		// 对店铺销售量统计值的逻辑1，比如 
	private BigDecimal salesNumValue1;		// 店铺销售量统计值1
	private String salesNumLogic2;		// 对店铺销售量统计值的逻辑2，比如 
	private BigDecimal salesNumValue2;		// 店铺销售量统计值2
	private String salesAmntLogic1;		// 对店铺销售额统计值的逻辑1
	private BigDecimal salesAmntValue1;		// 店铺销售额统计值1
	private String salesAmntLogic2;		// 对店铺销售额统计值的逻辑2
	private BigDecimal salesAmntValue2;		// 店铺销售额统计值2
	private Integer verifyDays;		// 有效期
	private Integer punishLevel;		// 处罚级别
	private String isMust;		// 1-必须满足所有条件(与)，0-只要满足其中一条(或)
	
	public ApiActivitySlimit() {
		super();
	}

	public ApiActivitySlimit(String id){
		this.id = id;
	}

	@NotNull(message="ID,自增不能为空")
	@ExcelField(title="ID,自增", align=2, sort=0)
	public Integer getLimitId() {
		return limitId;
	}

	public void setLimitId(Integer limitId) {
		this.limitId = limitId;
	}
	
	@ExcelField(title="活动ID，外键dfc_activity的activity_id", align=2, sort=1)
	public Integer getActivityId() {
		return activityId;
	}

	public void setActivityId(Integer activityId) {
		this.activityId = activityId;
	}
	
	@ExcelField(title="买家对店铺商品描述评价的逻辑", align=2, sort=2)
	public String getDescLogic() {
		return descLogic;
	}

	public void setDescLogic(String descLogic) {
		this.descLogic = descLogic;
	}
	
	@ExcelField(title="买家对店铺商品描述评价统计值", align=2, sort=3)
	public BigDecimal getDescValue() {
		return descValue;
	}

	public void setDescValue(BigDecimal descValue) {
		this.descValue = descValue;
	}
	
	@ExcelField(title="买家对店铺服务评价的逻辑", align=2, sort=4)
	public String getServLogic() {
		return servLogic;
	}

	public void setServLogic(String servLogic) {
		this.servLogic = servLogic;
	}
	
	@ExcelField(title="买家对店铺服务评价统计值", align=2, sort=5)
	public BigDecimal getServValue() {
		return servValue;
	}

	public void setServValue(BigDecimal servValue) {
		this.servValue = servValue;
	}
	
	@ExcelField(title="对店铺开张天数的逻辑1，比如 ", align=2, sort=6)
	public String getCreateDayLogic1() {
		return createDayLogic1;
	}

	public void setCreateDayLogic1(String createDayLogic1) {
		this.createDayLogic1 = createDayLogic1;
	}
	
	@ExcelField(title="店铺开张天数", align=2, sort=7)
	public Integer getCreateDayValue1() {
		return createDayValue1;
	}

	public void setCreateDayValue1(Integer createDayValue1) {
		this.createDayValue1 = createDayValue1;
	}
	
	@ExcelField(title="对店铺开张天数的逻辑2，比如 											</td>											<td>												<span  name=", align=2, sort=8)
	public String getCreateDayLogic2() {
		return createDayLogic2;
	}

	public void setCreateDayLogic2(String createDayLogic2) {
		this.createDayLogic2 = createDayLogic2;
	}
	
	@ExcelField(title="店铺开张天数2", align=2, sort=9)
	public Integer getCreateDayValue2() {
		return createDayValue2;
	}

	public void setCreateDayValue2(Integer createDayValue2) {
		this.createDayValue2 = createDayValue2;
	}
	
	@ExcelField(title="对店铺销售量统计值的逻辑1，比如 ", align=2, sort=10)
	public String getSalesNumLogic1() {
		return salesNumLogic1;
	}

	public void setSalesNumLogic1(String salesNumLogic1) {
		this.salesNumLogic1 = salesNumLogic1;
	}
	
	@ExcelField(title="店铺销售量统计值1", align=2, sort=11)
	public BigDecimal getSalesNumValue1() {
		return salesNumValue1;
	}

	public void setSalesNumValue1(BigDecimal salesNumValue1) {
		this.salesNumValue1 = salesNumValue1;
	}
	
	@ExcelField(title="对店铺销售量统计值的逻辑2，比如 ", align=2, sort=12)
	public String getSalesNumLogic2() {
		return salesNumLogic2;
	}

	public void setSalesNumLogic2(String salesNumLogic2) {
		this.salesNumLogic2 = salesNumLogic2;
	}
	
	@ExcelField(title="店铺销售量统计值2", align=2, sort=13)
	public BigDecimal getSalesNumValue2() {
		return salesNumValue2;
	}

	public void setSalesNumValue2(BigDecimal salesNumValue2) {
		this.salesNumValue2 = salesNumValue2;
	}
	
	@ExcelField(title="对店铺销售额统计值的逻辑1", align=2, sort=14)
	public String getSalesAmntLogic1() {
		return salesAmntLogic1;
	}

	public void setSalesAmntLogic1(String salesAmntLogic1) {
		this.salesAmntLogic1 = salesAmntLogic1;
	}
	
	@ExcelField(title="店铺销售额统计值1", align=2, sort=15)
	public BigDecimal getSalesAmntValue1() {
		return salesAmntValue1;
	}

	public void setSalesAmntValue1(BigDecimal salesAmntValue1) {
		this.salesAmntValue1 = salesAmntValue1;
	}
	
	@ExcelField(title="对店铺销售额统计值的逻辑2", align=2, sort=16)
	public String getSalesAmntLogic2() {
		return salesAmntLogic2;
	}

	public void setSalesAmntLogic2(String salesAmntLogic2) {
		this.salesAmntLogic2 = salesAmntLogic2;
	}
	
	@ExcelField(title="店铺销售额统计值2", align=2, sort=17)
	public BigDecimal getSalesAmntValue2() {
		return salesAmntValue2;
	}

	public void setSalesAmntValue2(BigDecimal salesAmntValue2) {
		this.salesAmntValue2 = salesAmntValue2;
	}
	
	@NotNull(message="有效期不能为空")
	@ExcelField(title="有效期", align=2, sort=18)
	public Integer getVerifyDays() {
		return verifyDays;
	}

	public void setVerifyDays(Integer verifyDays) {
		this.verifyDays = verifyDays;
	}
	
	@ExcelField(title="处罚级别", align=2, sort=19)
	public Integer getPunishLevel() {
		return punishLevel;
	}

	public void setPunishLevel(Integer punishLevel) {
		this.punishLevel = punishLevel;
	}
	
	@ExcelField(title="1-必须满足所有条件(与)，0-只要满足其中一条(或)", align=2, sort=20)
	public String getIsMust() {
		return isMust;
	}

	public void setIsMust(String isMust) {
		this.isMust = isMust;
	}
	
}